package com.ykdl.member.kid.beans;

import java.io.Serializable;
import java.util.ArrayList;

import net.wxxr.http.interfaces.IJsonParser;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

public class DoctorsListBean implements Serializable,IJsonParser  {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2805385889209977000L;
	private ArrayList<UserActorBean>  list;
	public ArrayList<UserActorBean> getList() {
		return list;
	}
	public void setList(ArrayList<UserActorBean> list) {
		this.list = list;
	}
	public int getNext_cursor() {
		return next_cursor;
	}
	public void setNext_cursor(int next_cursor) {
		this.next_cursor = next_cursor;
	}
	public int getTotal_number() {
		return total_number;
	}
	public void setTotal_number(int total_number) {
		this.total_number = total_number;
	}
	private int next_cursor ;
	private int total_number ;
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, DoctorsListBean.class);
		}
		return null;
	}

}
